﻿<%@ Page Language="C#" MasterPageFile="~/MembersHome/MembersHome.Master" AutoEventWireup="true"
    CodeBehind="ActivityMonitor.aspx.cs" Inherits="TCS.Web.MembersHome.ActivityMonitor"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script src="../My97DatePicker/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h2 class="content_title">
        活动检测</h2>
    <div class="hd_jc_step1">
        <div class="hd_jc_info">
            宣传数据
        </div>
        <div class="hd_jc_search">
            <asp:TextBox ID="txtwbUrl" class="text" runat="server"></asp:TextBox><asp:Button
                ID="btnSearch" runat="server" class="btn" Text="" OnClick="btnSearch_Click" />
        </div>
        <p class="ps">
            <span class="name">微博的独立地址获取方法:</span>如此如此</p>
    </div>
    <div class="hd_jc_step2">
        <asp:Repeater ID="rptWeiboDetial" runat="server">
            <HeaderTemplate>
            </HeaderTemplate>
            <ItemTemplate>
                 <asp:Panel runat="server" class="hd_jc_con" ID="org">
                    <span class="head_pic"><a href='http://weibo.com/<%# Eval("user.id")%>' target="_blank" />
                        <img src='<%# Eval("user.profile_image_url") %>' /></a></span>
                    <div class="hd_jc_in">
                        <p>
                            <a href='http://weibo.com/<%# Eval("user.id")%>' target="_blank" class="name">
                                <%# Eval("user.screen_name")%>：</a><%# Eval("text")%></p>
                        <p class="time">
                            <%# SinaDateConvert(Eval("created_at"))%>
                            来自<%# Eval("source")%></p>
                    </div>
                </asp:Panel>
            </ItemTemplate>
        </asp:Repeater>
        <p class="hd_js_tip">
            你确定要查看这篇微博吗？</p>
        <p class="hd_jc_op">
            <a href="">是，我要查看这篇微博</a><a href="">不，我要重新输入地址</a></p>
    </div>
    <div class="hd_jc_step3">
                <div class="hd_jc_con">
                    <span class="head_pic"> <a href="http://weibo.com/<%=weibo_userId  %>" target="_blank" > 
                        <img src="<%=profile_image_url %>" /></a></span>
                    <div class="hd_jc_in">
                        <p>
                            <a href="http://weibo.com/<%=weibo_userId  %>"  class="name">
                               <%=screen_name %>：</a><%=text %></p>
                        <p class="time">
                            <span class="op r"><a href="">转发总数(<%=rtCount%>)</a> <a href="">评论总数(<%=commentCount%>)</a> <a href="">转发到达总粉丝数(<%=fanCount%>)</a>
                            </span>
                           <%=created_at %>
                            来自<%=source %>
                        </p>
                    </div>
                </div>
                <p class="rester_search">
                    <a href="">重新输入地址查看新微博</a></p>
    </div>
    <div class="hd_jc_step4">
        <div class="search_if_if">
            <h3 class="title">
                查询条件</h3>
            <ul>
                <li><em>转发时间：</em> <span>
                    <asp:TextBox ID="txtStartDate" onClick="WdatePicker()" runat="server" class="time" /></span> <span class="zhi">
                        至</span> <span>
                            <asp:TextBox ID="txtEndDate"  onClick="WdatePicker()" runat="server" class="time" /></span> </li>
                <li><em>内容包含：</em> <span class="l">
                    <label>
                        话题</label><asp:TextBox ID="txtGZ" runat="server" Style="margin-top: 7px; margin-right: 8px;" /></span><span
                            class="l"><label>关键字</label><asp:TextBox ID="txtKeyword" runat="server" Style="margin-top: 7px;
                                margin-right: 8px;" /></span> </li>
                <li class="radio_q"><em>符号条件：</em> <span>
                    <input type="checkbox" /><label>我的粉丝</label></span> <span>
                        <input type="checkbox" /><label>@我</label></span> <span>
                            <input type="checkbox" /><label>@人数</label></span> <span>
                                <select>
                                    <option>3个</option>
                                </select></span> </li>
                <li class="op_end"><span>
                    <input type="button" class="search_btn_weibo_manage" /></span> <span class="clear_search_if">
                        <a href="">清除查询条件</a></span> </li>
            </ul>
        </div>
        <div class="checkbox_con">
            <div class="r search_end">
                <span>符合条件<asp:Label ID="lblRecordCount" runat="server" Text="0"></asp:Label>条</span><span
                    ><asp:Button ID="btnImportExcel" runat="server" Text="" class="mingdan" 
                    onclick="btnImportExcel_Click"/></span>
            </div>
            <span>
                <input type="checkbox" class="check_all" /><label>全选</label></span>
                <!-- <span>
                    <input type="button" class="mm_all" /></span> --><span>
                        <input type="button" class="ta_all" /></span>
        </div>
        <table cellpadding="0" cellspacing="0" class="hdjc_table_data">
            <tr>
                <th class="checkbox">
                    选择
                </th>
                <th class="nr">
                    内容
                </th>
                <th>
                    @人数
                </th>
                <th>
                    转发人
                </th>
                <th>
                    日期
                </th>
            </tr>
            <asp:Repeater ID="rptRecord" runat="server" 
                onitemdatabound="rptRecord_ItemDataBound"><HeaderTemplate>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td class="checkbox">
                            <input type="checkbox" />
                        </td>
                        <td class="nr">
                            <asp:Label ID="lblText" runat="server" Text='<%# Eval("text")%>'></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="lblCount" runat="server" Text="123456"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("retweeted_status.user.screen_name")%>
                        </td>
                        <td>
                            <%# SinaDateConvert(Eval("retweeted_status.created_at"))%>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
</asp:Content>
